package com.i2silly.wxbot;

import com.i2silly.wxbot.constant.WxRobotConstant;
import com.i2silly.wxbot.server.RobotWebsocketServer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
@MapperScan("com.i2silly.wxbot.dao")
public class WxBotApplication {

    public static void main(String[] args) {
        SpringApplication.run(WxBotApplication.class, args);
    }

  /*  @Bean
    public RobotWebsocketServer getWeChatPushService() {
        RobotWebsocketServer client = new RobotWebsocketServer(WxRobotConstant.WEBSOCKET_URL);
        client.connect();
        return client;
    }*/
}
